gtk+3.0.git
7 years agoGtkCssImageSurface: set device scale for cache surface
Juan Pablo Ugarte [Mon, 5 Mar 2018 17:47:00 +0000 (14:47 -0300)]
GtkCssImageSurface: set device scale for cache surface

Closes #63

7 years agoUpdate Russian translation
Stas Solovey [Mon, 5 Mar 2018 16:25:05 +0000 (16:25 +0000)]
Update Russian translation

7 years agoUpdate Latvian translation
Rūdolfs Mazurs [Sun, 4 Mar 2018 19:22:05 +0000 (19:22 +0000)]
Update Latvian translation

7 years agoMerge branch 'phase-field' into 'gtk-3-22'
Christoph Reiter [Sun, 4 Mar 2018 19:21:26 +0000 (19:21 +0000)]
Merge branch 'phase-field' into 'gtk-3-22'

Fix introspection for GdkEventTouchpadPinch and GdkEventTouchpadSwipe.

See merge request GNOME/gtk!45

7 years agoUpdate Latvian translation
Rūdolfs Mazurs [Sun, 4 Mar 2018 19:19:38 +0000 (19:19 +0000)]
Update Latvian translation

7 years agoFix introspection for GdkEventTouchpadPinch and GdkEventTouchpadSwipe.
Tomasz Miąsko [Sun, 4 Mar 2018 00:00:00 +0000 (00:00 +0000)]
Fix introspection for GdkEventTouchpadPinch and GdkEventTouchpadSwipe.

When using type annotations, the ABI of type being annotated and a new
type introduced from annotation should match.

In case of enumerations, the most common ABI, and probably the only one
currently used in practice with gtk, corresponds to -fno-short-enums
compiler option. It uses int as the underlying type of enum, bumping it
up to unsigned int, long int or unsigned long int, in that order, when
necessary.

Thus, when annotating a field of integer type with an enum type, it is
never correct to annotate field smaller than int, because it changes the
ABI from perspective on introspection.

The gint8 phase field in GdkEventTouchpadSwipe and GdkEventTouchpadPinch
structures have been previously annotated in such a way, and this change
removes this annotation to restore ABI compatibility.

Size of structures before (which does not match C):

```
>>> Gdk.EventTouchpadPinch.__info__.get_size()
104
>>> Gdk.EventTouchpadSwipe.__info__.get_size()
88
```

Size of structures after (which does match C):

```
>>> Gdk.EventTouchpadPinch.__info__.get_size()
96
>>> Gdk.EventTouchpadSwipe.__info__.get_size()
80
```

Fixes issue #57.

7 years agoMerge branch 'c-includes' into 'gtk-3-22'
Christoph Reiter [Sun, 4 Mar 2018 15:03:24 +0000 (15:03 +0000)]
Merge branch 'c-includes' into 'gtk-3-22'

Include C headers in introspection file.

See merge request GNOME/gtk!44

7 years agoInclude C headers in introspection file.
Tomasz Miąsko [Sun, 4 Mar 2018 00:00:00 +0000 (00:00 +0000)]
Include C headers in introspection file.

Include gtk/gtk.h and gtk/gtk-a11y.h unconditionally,
and gtk/gtkx.h when building with X11. Ensures that
introspection data contains complete set required
headers, which is useful when generating C code based
on introspection data.

Diff for generated gir (when using X11):

```diff
   <include name="xlib" version="2.0"/>
   <package name="gtk+-3.0"/>
+  <c:include name="gtk/gtk-a11y.h"/>
+  <c:include name="gtk/gtk.h"/>
+  <c:include name="gtk/gtkx.h"/>
   <namespace name="Gtk"
              version="3.0"
```

Fixes issue #56.

7 years agoMerge branch 'gitlab-ci-gtk-3-22' into 'gtk-3-22'
Christoph Reiter [Sun, 4 Mar 2018 11:54:24 +0000 (11:54 +0000)]
Merge branch 'gitlab-ci-gtk-3-22' into 'gtk-3-22'

Add gitlab-ci support using a prebuilt docker image

See merge request GNOME/gtk!18

7 years agoAdd gitlab-ci support using a prebuilt docker image
Christoph Reiter [Tue, 13 Feb 2018 16:21:18 +0000 (17:21 +0100)]
Add gitlab-ci support using a prebuilt docker image

This uses autotools and just calls make

7 years agoMerge branch 'include-gtkstackaccessible-gtk-3-22' into 'gtk-3-22'
Christoph Reiter [Sun, 4 Mar 2018 09:40:57 +0000 (09:40 +0000)]
Merge branch 'include-gtkstackaccessible-gtk-3-22' into 'gtk-3-22'

a11y: Include gtkstackaccessible.h in gtk-a11y.h

See merge request GNOME/gtk!42

7 years agoUpdate Esperanto translation
Kristjan SCHMIDT [Sat, 3 Mar 2018 20:07:27 +0000 (20:07 +0000)]
Update Esperanto translation

7 years agoa11y: Include gtkstackaccessible.h in gtk-a11y.h
Tomasz Miąsko [Sat, 3 Mar 2018 00:00:00 +0000 (00:00 +0000)]
a11y: Include gtkstackaccessible.h in gtk-a11y.h

7 years agoFix to Catalan translation
Jordi Mas [Sat, 3 Mar 2018 17:12:43 +0000 (18:12 +0100)]
Fix to Catalan translation

7 years agoUpdated Czech translation
Marek Černocký [Sat, 3 Mar 2018 05:53:53 +0000 (06:53 +0100)]
Updated Czech translation

7 years agoUpdate British English translation
Bruce Cowan [Fri, 2 Mar 2018 22:09:11 +0000 (22:09 +0000)]
Update British English translation

7 years agoRevert "file chooser: Allow activating without double-click"
Timm Bäder [Thu, 1 Mar 2018 18:39:49 +0000 (19:39 +0100)]
Revert "file chooser: Allow activating without double-click"

This reverts commit fb0a13b7f070a14312dafa1e4df6ba03cf33be01.

It's already reverted in master via
c8a6a1138b4e1772817be661a435dd16941d6445, so let's not leave subtle
behavior changes that would make a gtk3->gtk4 migration. And just like
the commit message of the revert already mentions: it didn't really make
anybody happy anyway.

7 years agoseparatormenuitem: Don't create label widget in get_label
Timm Bäder [Mon, 5 Feb 2018 09:38:37 +0000 (10:38 +0100)]
separatormenuitem: Don't create label widget in get_label

Calling gtk_menu_item_get_label on a GtkSeparatorMenuItem would
otherwise create a GtkLabel child, increasing the vertical size request
to that of the child label.

7 years agoMerge branch 'quartz-missing-config-include' into 'gtk-3-22'
Christoph Reiter [Thu, 1 Mar 2018 13:46:36 +0000 (13:46 +0000)]
Merge branch 'quartz-missing-config-include' into 'gtk-3-22'

macos: Fix missing gdk symbol exports for gtk dnd

See merge request GNOME/gtk!38

7 years agomacos: export gdk_quartz_drag_source_context()
Christoph Reiter [Thu, 1 Mar 2018 13:31:57 +0000 (14:31 +0100)]
macos: export gdk_quartz_drag_source_context()

It's used in the gtk dnd code but not exported in gdk.
Append a "_libgtk_only" suffix as with other internal exports and
export the symbol.

See #32

7 years agoUpdate Indonesian translation
Kukuh Syafaat [Thu, 1 Mar 2018 09:46:57 +0000 (09:46 +0000)]
Update Indonesian translation

7 years agomacos: Fix gdk_quartz_drag_context_get_dragging_info_libgtk_only symbol export
Christoph Reiter [Tue, 27 Feb 2018 18:53:43 +0000 (19:53 +0100)]
macos: Fix gdk_quartz_drag_context_get_dragging_info_libgtk_only symbol export

The header got included without config.h being included first which resulted in the
wrong _GDK_EXTERN macro being used. As a result some symbols weren't exported
and starting a DnD action would crash in the linker.

This patch adds config.h includes in all places where clang complained about
_GDK_EXTERN redefinitions.

See #32 for more info.

7 years agoUpdate Slovak translation
Dušan Kazik [Mon, 26 Feb 2018 11:17:48 +0000 (11:17 +0000)]
Update Slovak translation

7 years agoUpdate Italian translation
Milo Casagrande [Mon, 26 Feb 2018 08:02:38 +0000 (08:02 +0000)]
Update Italian translation

7 years agoUpdate Icelandic translation
Sveinn í Felli [Mon, 26 Feb 2018 07:51:26 +0000 (07:51 +0000)]
Update Icelandic translation

7 years agoMerge branch 'quartz-symbol-not-found-gtk3' into 'gtk-3-22'
Christoph Reiter [Sun, 25 Feb 2018 21:29:03 +0000 (21:29 +0000)]
Merge branch 'quartz-symbol-not-found-gtk3' into 'gtk-3-22'

gdkquartz.h: export pasteboard functions

See merge request GNOME/gtk!20

7 years agoUpdate Esperanto translation
Kristjan SCHMIDT [Sun, 25 Feb 2018 18:15:28 +0000 (18:15 +0000)]
Update Esperanto translation

7 years agoUpdate Turkish translation
Furkan Ahmet Kara [Sun, 25 Feb 2018 15:51:20 +0000 (15:51 +0000)]
Update Turkish translation

7 years agoUpdate Korean translation
Changwoo Ryu [Sun, 25 Feb 2018 14:49:53 +0000 (14:49 +0000)]
Update Korean translation

7 years agoUpdate Korean translation
Changwoo Ryu [Sun, 25 Feb 2018 14:48:59 +0000 (14:48 +0000)]
Update Korean translation

7 years agoUpdate Kazakh translation
Baurzhan Muftakhidinov [Sat, 24 Feb 2018 15:14:20 +0000 (15:14 +0000)]
Update Kazakh translation

7 years agoUpdate Hungarian translation
Balázs Úr [Fri, 23 Feb 2018 22:17:48 +0000 (22:17 +0000)]
Update Hungarian translation

7 years agoUpdate Scottish Gaelic translation
GNOME Translation Robot [Fri, 23 Feb 2018 17:34:56 +0000 (17:34 +0000)]
Update Scottish Gaelic translation

7 years agoUpdate Scottish Gaelic translation
GNOME Translation Robot [Fri, 23 Feb 2018 17:25:08 +0000 (17:25 +0000)]
Update Scottish Gaelic translation

7 years agoUpdate Friulian translation
Fabio Tomat [Fri, 23 Feb 2018 08:56:19 +0000 (08:56 +0000)]
Update Friulian translation

7 years agoUpdate Galician translation
Fran Dieguez [Fri, 23 Feb 2018 00:26:32 +0000 (00:26 +0000)]
Update Galician translation

7 years agoUpdate Dutch translation
GNOME Translation Robot [Thu, 22 Feb 2018 19:56:58 +0000 (19:56 +0000)]
Update Dutch translation

7 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 22 Feb 2018 10:23:24 +0000 (11:23 +0100)]
Updated Spanish translation

7 years agoUpdate Serbian Latin translation
Милош Поповић [Thu, 22 Feb 2018 10:16:15 +0000 (10:16 +0000)]
Update Serbian Latin translation

7 years agoUpdate Serbian translation
Марко Костић [Thu, 22 Feb 2018 10:09:01 +0000 (10:09 +0000)]
Update Serbian translation

7 years agoUpdate Serbian Latin translation
Милош Поповић [Wed, 21 Feb 2018 14:35:57 +0000 (14:35 +0000)]
Update Serbian Latin translation

7 years agoUpdate Serbian translation
Марко Костић [Wed, 21 Feb 2018 14:33:06 +0000 (14:33 +0000)]
Update Serbian translation

7 years agoUpdate Friulian translation
Fabio Tomat [Wed, 21 Feb 2018 09:28:45 +0000 (09:28 +0000)]
Update Friulian translation

7 years agoUpdate French translation
Charles Monzat [Mon, 19 Feb 2018 21:28:35 +0000 (21:28 +0000)]
Update French translation

7 years agoMerge branch 'test-fix-a11y-schema' into 'gtk-3-22'
Matthias Clasen [Mon, 19 Feb 2018 18:23:11 +0000 (18:23 +0000)]
Merge branch 'test-fix-a11y-schema' into 'gtk-3-22'

testsuite/a11y: Fix missing glib schemas

See merge request GNOME/gtk!16

7 years agoMerge branch 'gtk-3-22' into 'gtk-3-22'
Matthias Clasen [Mon, 19 Feb 2018 17:57:04 +0000 (17:57 +0000)]
Merge branch 'gtk-3-22' into 'gtk-3-22'

gtkprintbackendcups.c: fix \n at end of a debugging note

See merge request GNOME/gtk!24

7 years agoMerge branch 'gtk-debug-flags-with-open-display' into 'gtk-3-22'
Matthias Clasen [Mon, 19 Feb 2018 17:55:12 +0000 (17:55 +0000)]
Merge branch 'gtk-debug-flags-with-open-display' into 'gtk-3-22'

gtk_init: Fix debug flags handling when a display is already open

See merge request GNOME/gtk!26

7 years agoUpdated Lithuanian translation
Aurimas Černius [Sun, 18 Feb 2018 19:43:14 +0000 (21:43 +0200)]
Updated Lithuanian translation

7 years agoUpdate German translation
Mario Blättermann [Sun, 18 Feb 2018 12:48:31 +0000 (12:48 +0000)]
Update German translation

7 years agoMerge branch 'gtk-3-22' into 'gtk-3-22'
Christoph Reiter [Sun, 18 Feb 2018 10:45:52 +0000 (10:45 +0000)]
Merge branch 'gtk-3-22' into 'gtk-3-22'

Fix annotation for gtk_tree_view_is_blank_at_pos()

See merge request GNOME/gtk!12

7 years agogtk_init: Fix debug flags handling when a display is already open
Christoph Reiter [Sun, 18 Feb 2018 09:34:52 +0000 (10:34 +0100)]
gtk_init: Fix debug flags handling when a display is already open

In PyGObject gdk_init() is called before gtk_init() and thus there is
already a default display open when gtk_init() is called.
The code assigning the display to the debug_flags struct gets only
called when the default display changes, which never happens
when there already is one. As a result GTK_DEBUG=interactive
doesn't do anyting with Python apps.

This makes it call the change callback in case a display is already
there.

See https://gitlab.gnome.org/GNOME/pygobject/issues/166

7 years agoFix incorrect optimization in find_builtin_icon().
John Lindgren [Sun, 18 Feb 2018 03:03:27 +0000 (22:03 -0500)]
Fix incorrect optimization in find_builtin_icon().

When we found an icon with exactly the requested size, we'd stop
searching immediately (good), but we'd neglect to set the returned
min_difference to 0 (bad).  This caused theme_lookup_icon() to
prefer other, potentially much worse, matches over the exact one.

7 years agodocs: Add proper deprecation text for GtkStatusIcon
Emmanuele Bassi [Tue, 13 Feb 2018 11:12:26 +0000 (11:12 +0000)]
docs: Add proper deprecation text for GtkStatusIcon

We link to the HowDoI for GNotification in the class description, but we
should be more verbose in the deprecation notices for each function of
the GtkStatusIcon class.

https://bugzilla.gnome.org/show_bug.cgi?id=743975

7 years agogtkprintbackendcups.c: fix \n at end of a debugging note
Ivan Zakharyaschev [Sat, 17 Feb 2018 03:19:56 +0000 (06:19 +0300)]
gtkprintbackendcups.c: fix \n at end of a debugging note

(cherry picked from commit 7461ceebe34bfc6f882145e89e1ba2f187d08303)

7 years agoUpdate Polish translation
Piotr Drąg [Sat, 17 Feb 2018 16:18:59 +0000 (17:18 +0100)]
Update Polish translation

7 years agoUpdate Croatian translation
gogo [Fri, 16 Feb 2018 23:01:50 +0000 (23:01 +0000)]
Update Croatian translation

7 years agoUpdate Croatian translation
gogo [Fri, 16 Feb 2018 22:57:44 +0000 (22:57 +0000)]
Update Croatian translation

7 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Fri, 16 Feb 2018 16:20:06 +0000 (16:20 +0000)]
Update Brazilian Portuguese translation

7 years agogdkquartz.h: export pasteboard functions
Tom Schoonjans [Fri, 16 Feb 2018 12:16:02 +0000 (12:16 +0000)]
gdkquartz.h: export pasteboard functions

7 years agoUpdate Polish translation
Piotr Drąg [Thu, 15 Feb 2018 16:12:30 +0000 (17:12 +0100)]
Update Polish translation

7 years agotestsuite/a11y: Fix missing glib schemas
Christoph Reiter [Thu, 15 Feb 2018 10:44:04 +0000 (11:44 +0100)]
testsuite/a11y: Fix missing glib schemas

The a11y tests complain that org.gtk.Settings schemas are missing
and fail. This copies the code to build and include the schemas from
the reftests testsuite.

7 years agoUpdate Swedish translation
Anders Jonsson [Thu, 15 Feb 2018 09:47:55 +0000 (09:47 +0000)]
Update Swedish translation

7 years agogtkplacessidebar: Rename favorites to starred
Carlos Soriano [Thu, 15 Feb 2018 09:10:18 +0000 (10:10 +0100)]
gtkplacessidebar: Rename favorites to starred

To have more consistency in the name. The same was done in Nautilus in
commit https://gitlab.gnome.org/GNOME/nautilus/commit/27b039b37c1149fc8abbef6a683dd939e6f2bf1f.

7 years agoUpdate POTFILES.in
Piotr Drąg [Thu, 15 Feb 2018 03:31:13 +0000 (04:31 +0100)]
Update POTFILES.in

7 years agoMerge branch 'wip/carlosg/imwayland-3-22' into 'gtk-3-22'
Matthias Clasen [Thu, 15 Feb 2018 03:03:02 +0000 (03:03 +0000)]
Merge branch 'wip/carlosg/imwayland-3-22' into 'gtk-3-22'

modules: Add wayland IM implementation

See merge request GNOME/gtk!5

7 years ago3.22.28
Matthias Clasen [Wed, 14 Feb 2018 17:48:01 +0000 (12:48 -0500)]
3.22.28

7 years agomodules: Add wayland IM implementation
Carlos Garnacho [Thu, 30 Nov 2017 17:53:26 +0000 (18:53 +0100)]
modules: Add wayland IM implementation

This IM context implementation goes through the gtk-text-input protocol,
leaving up to the compositor the actual interaction with IM engines. If
the protocol is not offered by the compositor, GTK+ will fallback to the
IMs as specified through GtkSettings.

7 years agogdk/wayland: Add GdkDisplay call to query available globals
Carlos Garnacho [Tue, 13 Feb 2018 13:28:44 +0000 (14:28 +0100)]
gdk/wayland: Add GdkDisplay call to query available globals

The internal known_globals hashtable is used to carry accounting for
interfaces that depend on others (as ordering is not guaranteed), extend
its usage so it also keeps track of unimplemented interfaces (here at
least).

The API call will then use this to allow querying the globals offered by
the compositor, it will be useful to determine whether we can use
text-input protocols or should fallback to other IMs.

7 years agoFix irregular gdk_frame_clock_get_frame_time
Daniel van Vugt [Fri, 15 Sep 2017 09:49:12 +0000 (17:49 +0800)]
Fix irregular gdk_frame_clock_get_frame_time

This fixes stuttering in animations that rely on the regularity of
gdk_frame_clock_get_frame_time.

https://bugzilla.gnome.org/show_bug.cgi?id=787665

BEFORE
gdkgears:
58 FPS and visibly stuttering
gnome-maps on a 59.95Hz monitor:
"paint" g_get_monotonic_time +17278μs, gdk_frame_clock_get_frame_time +17278μs
"paint" g_get_monotonic_time +17449μs, gdk_frame_clock_get_frame_time +17426μs
"paint" g_get_monotonic_time +17620μs, gdk_frame_clock_get_frame_time +17600μs

AFTER
gdkgears:
60 FPS and smoother
gnome-maps on a 59.95Hz monitor:
"paint" g_get_monotonic_time +18228μs, gdk_frame_clock_get_frame_time +16680μs
"paint" g_get_monotonic_time +15010μs, gdk_frame_clock_get_frame_time +16680μs
"paint" g_get_monotonic_time +17134μs, gdk_frame_clock_get_frame_time +16680μs

7 years agoFix annotation for gtk_tree_view_is_blank_at_pos()
Gniourf [Wed, 14 Feb 2018 12:51:22 +0000 (13:51 +0100)]
Fix annotation for gtk_tree_view_is_blank_at_pos()

The annotation (allow-none) is wrong. Since
gtk_tree_view_is_blank_at_pos() also calls
gtk_tree_view_get_path_at_pos(), the same fields should have the same
annotations.

7 years agoAdd missing private header to the build
Emmanuele Bassi [Wed, 14 Feb 2018 10:36:24 +0000 (10:36 +0000)]
Add missing private header to the build

Closes: #26
        https://bugzilla.gnome.org/show_bug.cgi?id=793442

7 years agoUpdate Estonian translation
Mart Raudsepp [Tue, 13 Feb 2018 22:20:41 +0000 (22:20 +0000)]
Update Estonian translation

7 years ago3.22.27
Matthias Clasen [Tue, 13 Feb 2018 21:09:13 +0000 (16:09 -0500)]
3.22.27

7 years agoUpdate Estonian translation
Mart Raudsepp [Tue, 13 Feb 2018 20:14:22 +0000 (20:14 +0000)]
Update Estonian translation

7 years agoMerge branch 'gtk-3-22' into 'gtk-3-22'
Matthias Clasen [Tue, 13 Feb 2018 13:27:05 +0000 (13:27 +0000)]
Merge branch 'gtk-3-22' into 'gtk-3-22'

calendar: Use the new "%OB" format if supported

See merge request GNOME/gtk!2

7 years agocalendar: Use the new "%OB" format if supported
Rafal Luzynski [Sat, 10 Feb 2018 13:07:56 +0000 (14:07 +0100)]
calendar: Use the new "%OB" format if supported

Due to the recent changes introduced in glibc 2.27 "%OB" is the
correct format to obtain a month name as used in the calendar
header.  The same rule has been working in BSD family (including
OS X) since 1990s.  This simple hack checks whether "%OB" is supported
at runtime and uses it if it is, falls back to the old "%B" otherwise.

Closes: #9
7 years agox11: Don't call XInput API for core events
Benjamin Otte [Mon, 12 Feb 2018 20:09:50 +0000 (21:09 +0100)]
x11: Don't call XInput API for core events

Fixes emacs crashing with XMing.

https://bugzilla.redhat.com/show_bug.cgi?id=1483942

7 years agoUpdate Estonian translation
Mart Raudsepp [Mon, 12 Feb 2018 00:38:59 +0000 (00:38 +0000)]
Update Estonian translation

7 years agoUpdate Greek translation
Efstathios Iosifidis [Sun, 11 Feb 2018 23:38:57 +0000 (23:38 +0000)]
Update Greek translation

7 years agodocs: Use the appropriate deprecation for properties
Emmanuele Bassi [Sun, 11 Feb 2018 16:45:53 +0000 (16:45 +0000)]
docs: Use the appropriate deprecation for properties

The GtkFontButton:font-name property has been deprecated, but it's using
a non-standard annotation in its documentation.

7 years agogtk: Cast g_object_ref() to the right type
Emmanuele Bassi [Sun, 11 Feb 2018 16:22:49 +0000 (16:22 +0000)]
gtk: Cast g_object_ref() to the right type

In GLib 2.56, g_object_ref() will check that you're assigning the return
value to a variable of the same type you're passing in.

7 years agoDo not use deprecated error trap API
Emmanuele Bassi [Sun, 11 Feb 2018 16:16:05 +0000 (16:16 +0000)]
Do not use deprecated error trap API

Use the X11-specific API instead.

7 years agotoolbar: Use gdk_display_flush()
Emmanuele Bassi [Sun, 11 Feb 2018 15:38:20 +0000 (15:38 +0000)]
toolbar: Use gdk_display_flush()

Instead of the deprecated gdk_flush().

7 years agoselection: Disable deprecation warnings
Emmanuele Bassi [Sun, 11 Feb 2018 15:37:22 +0000 (15:37 +0000)]
selection: Disable deprecation warnings

We are using a lot of deprecated API, and we know it.

Since the selection code is going to be replaced in GTK 4.0, there's no
real point in keeping the warnings enabled in 3.22.

7 years agoplacessidebar: Move declaration inside conditional block
Emmanuele Bassi [Sun, 11 Feb 2018 15:14:43 +0000 (15:14 +0000)]
placessidebar: Move declaration inside conditional block

The `sidebar` variable is only used by the conditional block for
libcloudprovider.

7 years agoIgnore deprecations for gdk_flush()
Emmanuele Bassi [Sun, 11 Feb 2018 15:13:06 +0000 (15:13 +0000)]
Ignore deprecations for gdk_flush()

When terminating the main loop, we're really trying to flush all
GdkDisplay connections, so it's actually a legitimate internal use
case.

7 years agodocs: Properly deprecate gdk_keymap_get_default()
Emmanuele Bassi [Sun, 11 Feb 2018 15:07:24 +0000 (15:07 +0000)]
docs: Properly deprecate gdk_keymap_get_default()

We're using a compiler annotation, but there's no deprecation notice in
the gtk-doc stanza.

7 years agoaccelgroup: Do not use deprecated API
Emmanuele Bassi [Sun, 11 Feb 2018 15:06:04 +0000 (15:06 +0000)]
accelgroup: Do not use deprecated API

Use gdk_keymap_get_for_display() with the default display, instead of
the deprecated gdk_keymap_get_default().

7 years agodeprecated: Cast g_object_ref() to the right type
Emmanuele Bassi [Sun, 11 Feb 2018 15:02:30 +0000 (15:02 +0000)]
deprecated: Cast g_object_ref() to the right type

In GLib 2.56, g_object_ref() will check that you're assigning the return
value to a variable of the same type you're passing in.

7 years agoa11y: Cast g_object_ref() to the right type
Emmanuele Bassi [Sun, 11 Feb 2018 15:01:43 +0000 (15:01 +0000)]
a11y: Cast g_object_ref() to the right type

In GLib 2.56, g_object_ref() will check that you're assigning the return
value to a variable of the same type you're passing in.

7 years agoRemove stray format character
Emmanuele Bassi [Sun, 11 Feb 2018 14:58:16 +0000 (14:58 +0000)]
Remove stray format character

We are not using any string in the debug message.

7 years agobroadway: Cast g_object_ref() to the right type
Emmanuele Bassi [Sun, 11 Feb 2018 14:52:22 +0000 (14:52 +0000)]
broadway: Cast g_object_ref() to the right type

In GLib 2.56, g_object_ref() will check that you're assigning the return
value to a variable of the same type you're passing in.

7 years agox11: Balance an error trap
Emmanuele Bassi [Sun, 11 Feb 2018 14:50:27 +0000 (14:50 +0000)]
x11: Balance an error trap

We are pushing an error trap, and never popping it from the stack.

7 years agoFix overzalous method annotations for drag and drop
Alban Browaeys [Sun, 20 Jan 2013 22:45:17 +0000 (23:45 +0100)]
Fix overzalous method annotations for drag and drop

Functional revert of commit 9c4892f2915.

Fixes introspection scanner warnings like:

  Warning: Gtk: gtk_drag_finish: Methods must belong to the same
  namespace as the class they belong to

That is, the gtk_drag_* functions cannot be methods as they have a
"GdkDragContext" as the instance parameter, and that is not a valid
type for the Gtk namespace.

This is not an introspected ABI change, as the generated introspection
data ignores the annotation.

Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
https://bugzilla.gnome.org/show_bug.cgi?id=692152

7 years agoUpdate Swedish translation
Anders Jonsson [Sun, 11 Feb 2018 19:17:29 +0000 (19:17 +0000)]
Update Swedish translation

7 years agoUpdate Polish translation
Piotr Drąg [Sun, 11 Feb 2018 15:25:35 +0000 (16:25 +0100)]
Update Polish translation

7 years agoAdd AGPL3-only licence to GtkAboutDialog
Emmanuele Bassi [Sun, 28 Jan 2018 14:40:58 +0000 (14:40 +0000)]
Add AGPL3-only licence to GtkAboutDialog

https://bugzilla.gnome.org/show_bug.cgi?id=792793

7 years agoUpdate Friulian translation
Fabio Tomat [Sun, 11 Feb 2018 09:43:48 +0000 (09:43 +0000)]
Update Friulian translation

7 years agoUpdate Friulian translation
Fabio Tomat [Sun, 11 Feb 2018 08:29:56 +0000 (08:29 +0000)]
Update Friulian translation

7 years agoUpdate Galician translation
Fran Dieguez [Sat, 10 Feb 2018 18:43:45 +0000 (18:43 +0000)]
Update Galician translation